package com.wudimeng.syll.dao;

import com.wudimeng.syll.entity.CChuKuXinXi;
import com.wudimeng.syll.entity.CChuKuXinXiShanChu;
import com.wudimeng.syll.entity.CRuKuXinXi;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

//出库信息
@Repository
public interface ICChuKuXinXiDAO {

	//查询出库信息
	public List<Map<String,Object>> selectCChuKuXinXi(Map<String, String> paramMap);

	void addCChuKuXinXi(CChuKuXinXi chuKuXinXi);

	void addCChuKuXinXiShanChu(CChuKuXinXi chuKuXinXi);

	void updCChuKuXinXi(CChuKuXinXi chuKuXinXi);

	void delCChuKuXinXi(String liuSHuiID);

	//查询出库信息 LiuShuiHao
	public Map<String, Object> selectCChuKuXinXiByLiuShuiHao(@Param("LiuShuiHao") String LiuShuiHao,@Param("LiuShuiID") String LiuShuiID);

	//查询出库信息 LiuShuiID
	public CChuKuXinXi selectCChuKuXinXiByLiuShuiID(@Param("LiuShuiID") String LiuShuiID);

	//查询chu库流水号
	public List<Map<String,Object>> getChuKuLiuShuiHao(@Param("liuShuiHao") String liuShuiHao);

	//追溯信息
	Map<String,Object> getZhuiSuXinXiLiuShuiID(@Param("liuShuiID") String liuShuiID);

    //查询下游 信息
	Map<String,Object> getChuKuXinXiByRuKuLiuShuiId(String ruKuLiuShuiId);

	//查询委托审核 信息
	int getChuKuXinXiWeiTuoByLiuShuiHao(String liuShuiHao);

}
